package com.xinruke.hostels.dailymanage.interfaces.dto.roomclean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@ApiModel("房间打扫记录查询结果DTO")
@Data
public class RoomCleanRecordQueryResultDTO {

    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "id不能为空")
    private Integer id;

    @ApiModelProperty(value = "房间id")
    private Integer fangjianId;

    @ApiModelProperty(value = "房间编号")
    private String fangjianhao;

    @ApiModelProperty(value = "房型id")
    private Integer fangxing;

    @ApiModelProperty(value = "房扫人员")
    private String fangsaorenyuan;

    @ApiModelProperty(value = "续住标识:1续住；0不续住")
    private Byte xuzhubiaoshi;

    @ApiModelProperty(value = "备注")
    private String beizhu;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    @ApiModelProperty("创建人id")
    private Integer chuangjianrenId;

}
